<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的基金列表</title>
    <script src="/static/echarts.js"></script>
</head>
<body>

{% include "header.html" %}

<div id="A3">
<table>
    <tr>
        <td>
            <table border="0" cellspacing="5" cellpadding="0" valign="top">
                <tr>
                    <td>
                        <table class="table15_6">
                            <tr>
                                <td><b>编码</b></td>
                                <td><b>名称</b></td>
                                <td><b>类型</b></td>
                                <td><b>风险</b></td>
                                <td><b>累计收益</b></td>
                                <td><b>持有收益</b></td>
                                <td><b>收益率</b></td>
                                <td><b>价值</b></td>
                                <td><b>份额</b></td>
                                <td><b>回撤1</b></td>
                                <td><b>回撤3</b></td>
                                <td><b>回撤5</b></td>
                                <td><b>回撤比</b></td>
                                <td><b>1月</b></td>
                                <td><b>3月</b></td>
                                <td><b>6月</b></td>
                                <td><b>1年</b></td>
                                <td><b>2年</b></td>
                                <td><b>3年</b></td>
                                <td><b>5年</b></td>
                                <td><b>操作</b></td>
                            </tr>
                            {% for fund in funds %}

                            {% if fund.tradingData.priceMonitor == 1 %}
                            <tr style="color:red">
                            {% else %}
                            {% if fund.tradingData.priceMonitor == 2 %}
                            <tr style="color:gold">
                            {% else %}
                            <tr>
                            {% endif %}
                            {% endif %}
                                <td>{{fund.fundName.code}}</td>
                                <td>{{fund.fundName.name}}</td>
                                <td>{{fund.fundName.type}}</td>
                                <td>{{fund.fundName.risk}}</td>
                                <td>{{fund.fundInfo.totalIncome|floatformat}}</td>
                                <td>{{fund.fundInfo.curIncome|floatformat}}</td>
                                <td>{{fund.fundInfo.curIncomeRate}}%</td>
                                <td>{{fund.fundInfo.curValue|floatformat}}</td>
                                <td>{{fund.fundInfo.curUnits}}</td>
                                <td>{{fund.fundInfo.maxDrawDown1Y}}%</td>
                                <td>{{fund.fundInfo.maxDrawDown3Y}}%</td>
                                <td>{{fund.fundInfo.maxDrawDown5Y}}%</td>
                                <td>{{ fund.fundInfo.icomeDrawDownRate1Y }}</td>
                                <td>{{ fund.fundInfo.incomeRate1M }}</td>
                                <td>{{ fund.fundInfo.incomeRate3M }}</td>
                                <td>{{ fund.fundInfo.incomeRate6M }}</td>
                                <td>{{ fund.fundInfo.incomeRate1Y }}</td>
                                <td>{{ fund.fundInfo.incomeRate2Y }}</td>
                                <td>{{ fund.fundInfo.incomeRate3Y }}</td>
                                <td>{{ fund.fundInfo.incomeRate5Y }}</td>
                                
                                <td><a href="/fundinfo/{{fund.fundName.code}}/">查看</a></td>
                            </tr>
                            {% endfor %}
                        </table>
                    </td>

                </tr>
            </table>
        </td>
    </tr>
</table>
</div>

<style type="text/css">
.table15_6 table {
	width:100%;
	margin:15px 0;
	border:0;
}
.table15_6 th {
	font-weight:bold;
	background-color:#d3dae6;
	color:#202053
}
.table15_6,.table15_6 th,.table15_6 td {
	font-size:0.95em;
	text-align:center;
	padding:4px;
	border-collapse:collapse;
}
.table15_6 th {
	border: 1px solid #d3dae6;
	border-width:1px
}
.table15_6 td {
	border: 1px solid #d3dae6;
	border-width:1px
}
.table15_6 tr {
	border: 1px solid #ffffff;
}
.table15_6 tr:nth-child(odd){
	background-color:#f7f7f7;
}
.table15_6 tr:nth-child(even){
	background-color:#ffffff;
}
</style>

</body>
</html>
